package cn.tangg.factory.abstract_factory;

import cn.tangg.factory.abstract_factory.factorys.AK_Factory;

public class Test {
    public static void main(String[] args) {
        Factory factory;
        Gun gun;
        Bullet bullet;

        factory = new AK_Factory();
        gun = factory.getGun();
        bullet = factory.getBullet();
        gun.shooting();
        bullet.load();

    }
}
